Skip to content

fix: remove duplicate IncidentNotificationMatrix type export#808

Merged
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-another-one
Feb 24, 2026
Merged

fix: remove duplicate IncidentNotificationMatrix type export#808
hotlong merged 2 commits into
mainfrom
copilot/fix-ci-errors-another-one

Conversation

Copilot AI commented Feb 24, 2026

Copy link
Copy Markdown
Contributor

Duplicate export type IncidentNotificationMatrix on lines 183 and 368 of incident-response.zod.ts causes TS2300 errors, failing both the type check and DTS build on main.

  • Removed the redundant export at line 368 (the "Type exports" block); the inline export at line 183 is the canonical one
Original prompt

fix ci errors


🔒 GitHub Advanced Security automatically protects Copilot coding agent pull requests. You can protect all pull requests by enabling Advanced Security for your repositories. Learn more about Advanced Security.

@vercel

vercel Bot commented Feb 24, 2026

Copy link
Copy Markdown

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
objectstack-play Ready Ready Preview, Comment Feb 24, 2026 11:47am
spec Ready Ready Preview, Comment Feb 24, 2026 11:47am

Request Review

…TS2300 error

Co-authored-by: hotlong <50353452+hotlong@users.noreply.github.com>
Copilot AI changed the title [WIP] Fix CI errors in the build process fix: remove duplicate IncidentNotificationMatrix type export Feb 24, 2026
Copilot AI requested a review from hotlong February 24, 2026 11:44
@hotlong
hotlong marked this pull request as ready for review February 24, 2026 11:58
Copilot AI review requested due to automatic review settings February 24, 2026 11:58
@hotlong
hotlong merged commit 20a47f3 into main Feb 24, 2026
4 checks passed

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR fixes a TypeScript compilation error (TS2300) caused by a duplicate type export in the incident response schema file. The IncidentNotificationMatrix type was exported twice: once inline after its schema definition (line 183) and again in the grouped type exports section (line 368). This duplication prevented both type checking and DTS build from succeeding on main.

Changes:

  • Removed duplicate export type IncidentNotificationMatrix from the grouped type exports block, keeping only the inline export

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants